package com.xzcf.service;


import java.util.List;

import com.xzcf.entity.AuctionRecord;
import com.xzcf.entity.AuctionRecordDAO;


public class AuctionService {
	private AuctionRecordDAO arDAO;
	
	public AuctionRecordDAO getArDAO(){
		return arDAO;
	}
	public void setArDAO(AuctionRecordDAO arDAO){
		this.arDAO = arDAO;
	}
	
	public List getEntityList(){
		return arDAO.findAll();
	}
	public void saveRecord(AuctionRecord ar){
		arDAO.save(ar);
	}

}
